package c.x.jy.dao.dto;

import c.x.jy.common.annotation.SetValue;
import c.x.jy.dao.entity.BusinessCashApplyEntity;
import c.x.jy.dao.entity.MemberCashApplyEntity;
import lombok.Data;

@Data
public class BusinessCashApplyEntityDto extends BusinessCashApplyEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@SetValue(beanName = "commonService", method = "selectData", parameter = "SELECT name from `t_business` where id=,#businessId", vType = String.class)
	private String businessName;


	@SetValue(beanName = "commonService", method = "selectData", parameter = "SELECT username FROM `sys_user` WHERE user_id=,#checkUserId", vType = String.class)
	private String checkUsername;

	@SetValue(beanName = "commonService", method = "selectData", parameter = "SELECT username FROM `sys_user` WHERE user_id=,#cashUserId", vType = String.class)
	private String cashUsername;

	@SetValue(beanName = "commonService", method = "selectData", parameter = "SELECT username FROM `sys_user` WHERE user_id=,#applyUserId", vType = String.class)
	private String applyUsername;
}
